<!-- <link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" /> -->
<link href="assets/link/bootstrap-datetimepicker.min.css" rel="stylesheet">
<!-- 主页-入职管理 -->
<section id="container">
	<!--main content start-->
	<section id="main-content">
		<section class="wrapper">
			<!--state overview end-->
			<div class="row">
				<div class="col-lg-12">
					<!-- <div class="view-header">
						<div class="view-search">
							<select class="form-control" ng-model="userSelect.location">
								<option ng-repeat="cs in companySelect" value="{{cs.code}}">{{cs.name}}</option>
							</select>
							<select class="form-control" ng-model="userSelect.onPost">
								<option ng-repeat="ops in onPostSelect" value="{{ops.code}}">{{ops.name}}</option>
							</select>
							<input type="text" value="" class="form-control" placeholder="请输入员工姓名" ng-model="userSelect.userName">
							<a href="javascript:void(0);" class="btn btn-info" ng-click="searchNewUser()">搜索</a>
						</div>
					</div> -->

					<section class="panel">
						<div class="panel-body" style="padding-bottom:0;">
							<div class="row">
								<div class="col-lg-2">
									<div class="input-group m-bot15">
										<span class="input-group-addon" style="position: relative;z-index: 2;">公司</span>
										<select style="position: relative;margin-left:-4px;text-indent:4px;" class="form-control"
											ng-model="userSelect.location">
											<option ng-repeat="cs in companySelect" value="{{cs.code}}">{{cs.name}}</option>
										</select>
									</div>
								</div>
								<!--<div class="col-lg-2">-->
									<!--<div class="input-group m-bot15">-->
										<!--<span class="input-group-addon" style="position: relative;z-index: 2;">状态</span>-->
										<!--<select style="position: relative;margin-left:-4px;text-indent:4px;" class="form-control"-->
											<!--ng-model="userSelect.onPost">-->
											<!--<option ng-repeat="ops in onPostSelect" value="{{ops.code}}">{{ops.name}}</option>-->
										<!--</select>-->
									<!--</div>-->
								<!--</div>-->
								<div class="col-lg-3">
									<div class="input-group m-bot15">
										<span class="input-group-addon">员工姓名</span>
										<input type="text" class="form-control" placeholder="员工姓名" ng-model="userSelect.userName">
									</div>
								</div>
								<div class="col-lg-3">
									<button class="btn btn-info" ng-click="searchNewUser()" style="margin-bottom:15px;">搜索</button>
								</div>
							</div>
						</div>
					</section>

					<section class="panel addExitCls" hidden>
						<div class="panel-body">
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">人员姓名</label>
								<div class="col-sm-10">
									<input type="text" value="" autocomplete="off" id="empName" certus-required-polyfill
										   class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
										   placeholder="请输入员工姓名，自动检索" />
									<input type="hidden" autocomplete="off" value="" id="empId" name="userId" />
									<input type="hidden" autocomplete="off" value="" id="userName" name="userName" />
								</div>
							</div>
							<div class="form-group customerForm">
								<p ng-repeat="mem in modalContent.proMembers">{{mem}}</p>
							</div>

							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">最终离职日期</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" id="datetimeid" certus-required-polyfill onclick="initMyself('datetimeid')" ng-model="modalContent.lastDate">
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">费用截止月份</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" id="endMonth" certus-required-polyfill onclick="initMyself1('endMonth')" ng-model="modalContent.endMonth">
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">审批意见</label>
								<div class="col-sm-10">
									<textarea certus-an-limit-length="120" class="form-control" ng-model="modalContent.opionMsg"></textarea>
								</div>
							</div>
						</div>
						<p class="default-buttons">
							<a href="javascript:void(0);" class="button-back btn btn-info" ng-click="cancel();">取消</a>
							<a href="javascript:void(0);" class="button-next  btn btn-info" ng-click="startExitSub()">提交</a>
						</p>
					</section>

					<section class="panel">
						<header class="panel-heading">
							离职申请记录
							<i class="button-next icon-plus" ng-show="autho['XZZX-XYGRZC']" ng-click="addExit()"> 新增</i>
						</header>
						<div class="panel-body">
							<div id="indContainer1" class="dlshouwen-grid-container"></div>
							<div id="indToolBarContainer1" class="dlshouwen-grid-toolbar-container"></div>
						</div>
					</section>
				</div>
			</div>
		</section>
	</section>
	<!--main content end-->
</section>
<script src="assets/link/bootstrap-datetimepicker.min.js"></script>
<!-- <script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script> -->
<script type="text/javascript" src="js/exit/ind.js"></script>